package com.ruoyi.products.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 品牌管理对象 products_brand
 * 
 * @author ruoyi
 * @date 2022-04-06
 */
public class ProductsBrand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 品牌字母 */
    @Excel(name = "品牌字母")
    private String brandLetter;

    /** 品牌地址 */
    @Excel(name = "品牌地址")
    private String brandAddr;

    /** 公司电话 */
    @Excel(name = "公司电话")
    private String phonenum;

    /** 传真 */
    @Excel(name = "传真")
    private String fax;

    /** 假删除 */
    private Integer delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setBrandLetter(String brandLetter) 
    {
        this.brandLetter = brandLetter;
    }

    public String getBrandLetter() 
    {
        return brandLetter;
    }
    public void setBrandAddr(String brandAddr) 
    {
        this.brandAddr = brandAddr;
    }

    public String getBrandAddr() 
    {
        return brandAddr;
    }
    public void setPhonenum(String phonenum) 
    {
        this.phonenum = phonenum;
    }

    public String getPhonenum() 
    {
        return phonenum;
    }
    public void setFax(String fax) 
    {
        this.fax = fax;
    }

    public String getFax() 
    {
        return fax;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("brand", getBrand())
            .append("brandLetter", getBrandLetter())
            .append("brandAddr", getBrandAddr())
            .append("phonenum", getPhonenum())
            .append("fax", getFax())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
